import request from '@/utils/request'

export async function findByPage(data) {
    return request({
      url: '/api/opinions/findByPage',
      method: 'post',
      data,
    })
  }

  export async function deleteItem(id) {
    return request({
      url: '/api/opinions/delete/'+id,
      method: 'get',
    })
  }
  export async function detailItem(id) {
    return request({
      url: '/api/opinions/find/'+id,
      method: 'get',
    })
  }